package com.xcity.game.player;

import com.xcity.db.entity.Player;
import com.xcity.game.player.template.PlayerLevelTemplate;

@Deprecated
public class PlayerAttribute {

	protected int IQ, EQ, AQ, leadership;
	
	public PlayerAttribute(Player player) {
		PlayerLevelTemplate playerTemplate = PlayerUtils.getTemplate(player);
		this.IQ = playerTemplate.getIQ();
		this.EQ = playerTemplate.getEQ();
		this.AQ = playerTemplate.getAQ();
		this.leadership = PlayerUtils.getLeadership(player);
	}

	public int getIQ() {
		return IQ;
	}

	public void setIQ(int iQ) {
		IQ = iQ;
	}

	public int getEQ() {
		return EQ;
	}

	public void setEQ(int eQ) {
		EQ = eQ;
	}

	public int getAQ() {
		return AQ;
	}

	public void setAQ(int aQ) {
		AQ = aQ;
	}

	public int getLeadership() {
		return leadership;
	}

	public void setLeadership(int leadership) {
		this.leadership = leadership;
	}
	
}
